﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DTO
{
    public class SachDTO
    {
        //khoi tao gia tri
        private int _MSSach;

        public int MSSach
        {
            get { return _MSSach; }
            set { _MSSach = value; }
        }
        private int _MSNhaXuatBan;

        public int MSNhaXuatBan
        {
            get { return _MSNhaXuatBan; }
            set { _MSNhaXuatBan = value; }
        }
        private string _TenSach;

        public string TenSach
        {
            get { return _TenSach; }
            set { _TenSach = value; }
        }
        private int _NamXuatBan;

        public int NamXuatBan
        {
            get { return _NamXuatBan; }
            set { _NamXuatBan = value; }
        }
        private string _HinhAnh;

        public string HinhAnh
        {
            get { return _HinhAnh; }
            set { _HinhAnh = value; }
        }
        private int _LanXem;

        public int LanXem
        {
            get { return _LanXem; }
            set { _LanXem = value; }
        }
        //khoi tao phuong thuc 
        public SachDTO()
        {
            _MSSach = 0;
            _MSNhaXuatBan = 0;
            _TenSach = "";
            _NamXuatBan = 0;
            _HinhAnh = "";
            _LanXem = 0;
        }
    }
}
